const low = require('lowdb')
const FileSync = require('lowdb/adapters/FileSync')

const dataBaseDir = 'E:/code/electron/twinkle-settings/src/data/'

export const timerDB = low(new FileSync(dataBaseDir + 'time-bright.json'))

const settingFile = 'C:/Users/Administrator/AppData/Local/Packages/38002AlexanderFrangos.TwinkleTray_m7qx9dzpwqaze/LocalCache/Roaming/twinkle-tray-appx/settings.json'

export const settingDB = low(new FileSync(settingFile))
